In This Topic
Sets the widget rotation angle.
The accepted values for this property are 0, 90, 180 and 270 degrees.
Syntax
public void setRotation(
int
)
|
Parameters
- rotation
- The widget rotation angle in degrees.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | Thrown when the value being set is not one of the accepted values. |
See Also